import java.util.Scanner;

public class Programmer {
    String name;
    int age;
    String skillDir;
    public  void  showProgrammer(){
        System.out.println("姓名:"+this.name+"年龄:"+this.age+"技术方向:"+this.skillDir);
    }

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入姓名：");
        String  name = input.next();
        System.out.print("请输入年龄：");
        int age = input.nextInt();
        System.out.print("技术方向：");
        String skillDir = input.next();
        Programmer programmer = new Programmer();
        programmer.name = name;
        programmer.age = age;
        programmer.skillDir = skillDir;
        programmer.showProgrammer();


    }
}
